package com.general.template.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: 杰哥
 * @Description:
 **/
@ConfigurationProperties(prefix = "upload")
@EnableConfigurationProperties(UploadProperties.class)
@Data
public class UploadProperties {
    private String baseUrl;
    private List<String> allowTypes;
    private String uploadAdmin;
    private String baseAdmin;
    private String uploadMedia;
    private String baseMedia;
}
